#include<iostream>
using namespace std;

void gg(int a, int b) {
    for (int i=a; i<=b; i++) {
        for (int j=i+1; j<=b; j++) {
            for (int k=j+1; k<=b; k++) {
                if (k*k == i*i + j*j)
                    cout << i << " " << j << " " << k << endl;
            }
        }
    }
}

int main() {
    int a, b;
    cin >> a >> b;
    gg(a, b);
    return 0;
}